package model.xpdl2
{
	public class ProcessHeader
	{
		private var created:Created;
		
		private var description:Description;
		
		private var persistent:Persistent;
		
		public function ProcessHeader()
		{
			created=new Created();
			description=new Description();
			persistent=new Persistent();
		}
		
		public function genXML():String{
			var xml:String;
			var nsprefix:String="xpdl2";
			xml="<"+nsprefix+":ProcessHeader>\n"
			
			xml+=created.genXML();			
			xml+=description.genXML();
			xml+=persistent.genXML();
			xml+="</"+nsprefix+":ProcessHeader>\n";
			return xml;
		}
		
		public function getCreated():Created{
			return this.created;
		}
		
		public function setCreated(created:Created):void{
			this.created=created;
		}
		
		public function getDescription():Description{
			return this.description;
		}
		
		public function getPersistent():Persistent{
			return this.persistent;
		}

	}
}